package com.msb.mall.product.fegin;

import com.msb.common.dto.es.SkuESModel;
import com.msb.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @auther: zhaoss
 * @date: 2022\9\21 0021 - 09 - 21 - 21:42
 * @description: com.msb.mall.product.fegin
 * @version: 1.0
 */
@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuESModel> skuESModels);

}
